﻿using System.Windows;

namespace TotalApplication.AngelSix
{
    /// <summary>
    /// MessageDialog.xaml 的交互逻辑
    /// </summary>
    public partial class DialogWindow : Window
    {
        #region Private Members

        private MessageDialogViewModel? _viewModel;

        #endregion

        #region Public Properties

        public MessageDialogViewModel? ViewModel
        {
            get { return _viewModel; }
            set { if (value != _viewModel) { _viewModel = value; DataContext = _viewModel; } }

        }

        #endregion

        public DialogWindow()
        {
            InitializeComponent();
        }
    }
}
